﻿using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Diagnostics.Metrics;

namespace CKS2320.Domain.DBEntity
{
    [Table("Op20coredata")]
    public partial class Op20coredata
    {
        [Key]
        /// <summary>
        /// 主键
        /// </summary>
        public long Id { get; set; }
        /// <summary>
        /// 
        /// 二维码
        /// </summary>
        public string? SerialNumber { get; set; }
        /// <summary>
        /// 时间
        /// </summary>
        public DateTime? TestTime { get; set; }
        /// <summary>
        /// AC电压
        /// </summary>
        public float? VoltageAc { get; set; }
        /// <summary>
        /// AC电压单位
        /// </summary>
        public string? VoltageAcunit { get; set; } = "KV";
        /// <summary>
        /// AC电流
        /// </summary>
        public float? CurrentAc { get; set; }
        /// <summary>
        /// AC电流单位
        /// </summary>
        public string? CurrentAcunit { get; set; } = "mA";
        /// <summary>
        /// AC判定（OK/NG）
        /// </summary>
        public string? ResultAc { get; set; }
        /// <summary>
        /// DC电压
        /// </summary>
        public float? VoltageDc { get; set; }
        /// <summary>
        /// DC电压单位
        /// </summary>
        public string? VoltageDcunit { get; set; } = "KV";
        /// <summary>
        /// DC电流
        /// </summary>
        public float? CurrentDc { get; set; }
        /// <summary>
        /// DC电流单位
        /// </summary>
        public string? CurrentDcunit { get; set; } = "uA";
        /// <summary>
        /// DC判定（OK/NG）
        /// </summary>
        public string? ResultDc { get; set; }
        /// <summary>
        /// 总长
        /// </summary>
        public float? TotalLength { get; set; }
        /// <summary>
        /// total LengthJudge判定
        /// </summary>
        public string? TotalLengthJudge { get; set; }
        /// <summary>
        /// totalLengthUnit单位
        /// </summary>
        public string? TotalLengthUnit { get; set; } = "mm";
        /// <summary>
        /// 大头垂直度
        /// </summary>
        public float? BhVerticality { get; set; }
        public string? BhVerticalityUnit { get; set; } = "°";
        public string? BhVerticalityJudge { get; set; }
        /// <summary>
        /// 小头垂直度
        /// </summary>
        public float? ShVerticality { get; set; }
        public string? ShVerticalityUnit { get; set; } = "°";
        public string? ShVerticalityJudge { get; set; }
        public string? ShVerticalityTotalJudge { get; set; }
        /// <summary>
        /// 通道信息
        /// </summary>
        public string? Passageway { get; set; }
        /// <summary>
        /// 总结果
        /// </summary>
        public string? finalJudge { get; set; }

    }
}
